package ebj.common.docparser.xml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter;

public class AdResponseContents {
	@XStreamAlias("type")
	@XStreamAsAttribute
	private String type;
	@XStreamConverter(value=ToAttributedValueConverter.class, strings="contents")
	private HtmlString htmlString;
	private String clicktype;
	private String clickurl;
	private String imageurl;
	private String urltype;
	private int refresh;
	private String scale;
	private String skippreflight;
	private int bannerwidth;
	private int bannerheight;
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public HtmlString getHtmlString() {
		return htmlString;
	}
	public void setHtmlString(HtmlString htmlString) {
		this.htmlString = htmlString;
	}
	public String getClicktype() {
		return clicktype;
	}
	public void setClicktype(String clicktype) {
		this.clicktype = clicktype;
	}
	public String getClickurl() {
		return clickurl;
	}
	public void setClickurl(String clickurl) {
		this.clickurl = clickurl;
	}
	public String getImageurl() {
		return imageurl;
	}
	public void setImageurl(String imageurl) {
		this.imageurl = imageurl;
	}
	public String getUrltype() {
		return urltype;
	}
	public void setUrltype(String urltype) {
		this.urltype = urltype;
	}
	public int getRefresh() {
		return refresh;
	}
	public void setRefresh(int refresh) {
		this.refresh = refresh;
	}
	public String getScale() {
		return scale;
	}
	public void setScale(String scale) {
		this.scale = scale;
	}
	public String getSkippreflight() {
		return skippreflight;
	}
	public void setSkippreflight(String skippreflight) {
		this.skippreflight = skippreflight;
	}
	public int getBannerwidth() {
		return bannerwidth;
	}
	public void setBannerwidth(int bannerwidth) {
		this.bannerwidth = bannerwidth;
	}
	public int getBannerheight() {
		return bannerheight;
	}
	public void setBannerheight(int bannerheight) {
		this.bannerheight = bannerheight;
	}
}
